<?php if($session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'admin' || $session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'manag'){?>
	
	<li><?php echo $this->Html->link(__('Add Group', true).'<small>'.__('Add Group', true).'</small>', 
		array('plugin'=>'store','controller'=>'groups','action'=>'add'),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_add.png)')); ?></li>
	
	<?php if(isset($storeGroup['StoreGroup']['id'])){?>
	<li><?php echo $this->Html->link(__('Edit Group', true).'<small>'.__('Edit Group', true).'</small>', 
		array('plugin'=>'store','controller'=>'groups','action'=>'edit',$storeGroup['StoreGroup']['id']),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_edit.png)')); ?></li>
	
	<li><?php echo $this->Html->link(__('Delete Group', true).'<small>'.__('Delete Group', true).'</small>', 
		array('plugin'=>'store','controller'=>'groups','action'=>'delete',$storeGroup['StoreGroup']['id']),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_delete.png)'), sprintf(__d('store','Are you sure you want to delete # %s?', true), $storeGroup['StoreGroup']['id'])); ?></li>
	<?php }?>
	<?php if(is_numeric($this->Form->value('StoreGroup.id'))){?>

	<li><?php echo $this->Html->link(__('View Group', true).'<small>'.__('View Group', true).'</small>', 
		array('plugin'=>'store','controller'=>'groups','action'=>'edit',$this->Form->value('StoreGroup.id')),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_view.png)')); ?></li>
	
	<li><?php echo $this->Html->link(__('Delete Group', true).'<small>'.__('Delete Group', true).'</small>', 
		array('plugin'=>'store','controller'=>'groups','action'=>'delete',$this->Form->value('StoreGroup.id')),
		array('escape'=>false,'style'=>'background-image: url(/img/firma/actions_16_delete.png)'), sprintf(__d('store','Are you sure you want to delete # %s?', true), $this->Form->value('StoreGroup.id'))); ?></li>


	<?php }?>
<?php }?>